﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CompareEventArgs.cs" company="SmartPlan">
//   SmartPlan 2011
// </copyright>
// <summary>
//   The compare event args.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace DbDiff.Common.Comparer
{
    using System;

    /// <summary>
    /// The compare event args.
    /// </summary>
    public class CompareEventArgs : EventArgs 
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="CompareEventArgs"/> class.
        /// </summary>
        /// <param name="objectType">
        /// The object type.
        /// </param>
        /// <param name="objectName">
        /// The object name.
        /// </param>
        public CompareEventArgs(string objectType, string objectName) 
        {
            this.ObjectName = objectName;
            this.ObjectType = objectType;
        }

        /// <summary>
        /// Gets ObjectType.
        /// </summary>
        public string ObjectType { get; private set; }

        /// <summary>
        /// Gets ObjectName.
        /// </summary>
        public string ObjectName { get; private set; }
    }
}